/*
 * Template of a frigate
 */

package item.ship;

import java.io.Serializable;

public class FrigateShip extends Ship implements Serializable {

	private static final long serialVersionUID = -7944070803839103117L;
	
	//creates a FrigateShip object

	public FrigateShip(int cost, int condition, int level, int weight, 
			int amr, int maxAMR, int hll, int maxHLL, int crw, int maxCRW) {
		
		super(cost, condition, level, weight, amr, maxAMR, hll, maxHLL, crw, maxCRW);
		this.setMaxWeapon(2);
		this.setMaxDefensive(2);
		this.setMaxEngine(2);
		this.setMaxDrone(1);
		
	}//end of constructor FrigateShip

	//default dying message of a frigate
	
	public String die() {
		return "A small explosion marks the resting place of yet another ship.";
	}//end of method die

	
	//returns the ship class	
	public String getShipClass(){
		
		return "Frigate";
	}//getShipClass
}//end of class FrigateShip
